Repository navigation
Add au.anthropic.claude-opus-4-8 to bedrock model config and pricing - #1027
Merged
Merged
Conversation
Co-authored-by: Cursor <cursoragent@cursor.com>
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are recorded for the Australian Bedrock profile configuration and pricing changes.
No open issues 🎉
What changed in this PR
Adds explicit configuration and pricing for the Australian Bedrock profile au.anthropic.claude-opus-4-8, replacing the generic fallback responsible for the incorrect Max Tokens limit in the UI.
Changes:
- Sets the maximum output to 128,000 tokens and mirrors the existing US/EU profile settings.
- Adds pay-as-you-go, cache, and batch pricing matching the US/EU geographic profiles.
| File | Description |
|---|---|
pricing/bedrock.json |
Adds token, cache, and batch rates for the Australian profile. |
general/bedrock.json |
Adds the profile’s token limit, parameters, and supported capabilities. |
Review effort: Balanced
b4s36t4
approved these changes
Nov 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pylon: https://app.usepylon.com/issues?issueNumber=9901&nid=56d9e34d-d1f5-4ed5-b43a-c3f58f44d370&nsrc=slack&ntype=issue_sla_breached
What is the issue
The
au.anthropic.claude-opus-4-8Bedrock inference profile had no entry in the model config, so it fell back to the Bedrockdefaultblock. The UI therefore showed Max Tokens as 2048 (default 512) instead of Opus 4.8's real limit of 128K output tokens (customer ticket #9901). The pricing file had no entry for this profile either.What is the fix
general/bedrock.json: addedau.anthropic.claude-opus-4-8withmax_tokensmaxValue: 128000. Thethinking,tool_choice,typeandremoveParamssettings are copied from the existingus./eu.Opus 4.8 entries.pricing/bedrock.json: added pay-as-you-go and batch pricing for the profile. The prices match theus./eu.geo profiles (10% premium over the base model). This is consistent with howau.anthropic.claude-opus-5-5is priced against its base.Max output (128K) is per the Anthropic and AWS Bedrock docs for Opus 4.8.
Not included (follow-ups):
jp.anthropic.claude-opus-4-8is also missing from both files.albus/src/configs/model-configs/general/bedrock.jsonhas the same gap.thinkingschema (enabled/budget_tokens) differs from the AWS docs, which say adaptive only.How to test
python3 scripts/check_duplicate_keys.py. It should report no duplicate keys.node -e "const j=require('./general/bedrock.json');console.log(j['au.anthropic.claude-opus-4-8'].params[0])". It should print{ key: 'max_tokens', maxValue: 128000 }.node -e "const j=require('./pricing/bedrock.json');console.log(j['au.anthropic.claude-opus-4-8'].pricing_config.pay_as_you_go.request_token)". It should print{ price: 0.00055 }.bedrock-au, modelau.anthropic.claude-opus-4-8). Max Tokens should show 128000 rather than 2048.